//公用js
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

//引入子module
import login from './module/home/login.js'

import index from './module/manage/index.js'
import ahome from './module/manage/index/ahome.js'
import peo from './module/manage/index/peo.js'
import sys from './module/manage/index/sys.js'

import about from './module/other/about.js'

//总接口
var store = new Vuex.Store({
  state: {
    hello: "我是登录页"
  },
  modules: {
	login: login,
    index: index,
	ahome: ahome,
	peo: peo,
	sys: sys,
	about: about
  }
})


export default store